  		<?php echo CHtml::form(array('/posts/search'), 'get'); ?>
        <div class="search">
        <h3 class="cRed"><span class="icon"></span>搜索本站</h3>
            <p><input name="key" id="search-textfield" type="text" value="<?php echo $word ?>" size="15" class="sIpt"/><br />
			<input value="搜索" type="submit" class="sBtn mt10" />
            </p>
        </div>
        <?php echo CHtml::endForm(); ?>
		<script type="text/javascript">
		$(document).ready(function() {
			var preInputText = '<?php echo addslashes($word) ?>';
			searchTextField = $('#search-textfield');
			searchTextField.css('color', '#DDDDDD');
			searchTextField.focus(function() {
				if($(this).val() == preInputText) {
					$(this).val('');
					$(this).css('color', '#555555');
				}
			}).blur(function() {
				if($(this).val() == '') {
					$(this).val(preInputText);
					$(this).css('color', '#DDDDDD');
				}
			});
		});
		</script>